<template>
  <div class="dashboard-container">
    <div class="dashboard-title">
      <b>{{ name }}</b>
      <span> 您好!</span>
    </div>
    <div class="dashboard-text">欢迎访问微博后台管理系统...</div>
  </div>
</template>

<script>
import { mapGetters } from "vuex";

export default {
  name: "Dashboard",
  computed: {
    ...mapGetters(["name"]),
  },
};
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }
  &-title {
    span {
      font-size: 25px;
    }
    b {
      font-size: 32px;
    }
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
</style>
